package com.legal.aid.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.legal.aid.common.annotation.Excel;
import com.legal.aid.common.core.domain.BaseEntity;

/**
 * 经典案例对象 z_case
 * 
 * @author ruoyi
 * @date 2025-05-27
 */
public class Case extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 案例 */
    private Long caseId;

    /** 案例标题 */
    @Excel(name = "案例标题")
    private String caseTitle;

    /** 案例内容 */
    @Excel(name = "案例内容")
    private String caseContent;

    /** 封面图URL */
    @Excel(name = "封面图URL")
    private String coverImage;

    /** 案件类别 */
    @Excel(name = "案件类别")
    private String caseCategory;

    /** 浏览次数 */
    @Excel(name = "浏览次数")
    private Long viewCount;

    /** 状态 */
    private String caseStatus;

    /** 是否删除(0否1是) */
    private String isDeleted;

    /** 创建人 */
    private String createdBy;

    /** 修改人 */
    private String updatedBy;

    public void setCaseId(Long caseId) 
    {
        this.caseId = caseId;
    }

    public Long getCaseId() 
    {
        return caseId;
    }

    public void setCaseTitle(String caseTitle) 
    {
        this.caseTitle = caseTitle;
    }

    public String getCaseTitle() 
    {
        return caseTitle;
    }

    public void setCaseContent(String caseContent) 
    {
        this.caseContent = caseContent;
    }

    public String getCaseContent() 
    {
        return caseContent;
    }

    public void setCoverImage(String coverImage) 
    {
        this.coverImage = coverImage;
    }

    public String getCoverImage() 
    {
        return coverImage;
    }

    public void setCaseCategory(String caseCategory) 
    {
        this.caseCategory = caseCategory;
    }

    public String getCaseCategory() 
    {
        return caseCategory;
    }

    public void setViewCount(Long viewCount) 
    {
        this.viewCount = viewCount;
    }

    public Long getViewCount() 
    {
        return viewCount;
    }

    public void setCaseStatus(String caseStatus) 
    {
        this.caseStatus = caseStatus;
    }

    public String getCaseStatus() 
    {
        return caseStatus;
    }

    public void setIsDeleted(String isDeleted) 
    {
        this.isDeleted = isDeleted;
    }

    public String getIsDeleted() 
    {
        return isDeleted;
    }

    public void setCreatedBy(String createdBy) 
    {
        this.createdBy = createdBy;
    }

    public String getCreatedBy() 
    {
        return createdBy;
    }

    public void setUpdatedBy(String updatedBy) 
    {
        this.updatedBy = updatedBy;
    }

    public String getUpdatedBy() 
    {
        return updatedBy;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("caseId", getCaseId())
            .append("caseTitle", getCaseTitle())
            .append("caseContent", getCaseContent())
            .append("coverImage", getCoverImage())
            .append("caseCategory", getCaseCategory())
            .append("viewCount", getViewCount())
            .append("caseStatus", getCaseStatus())
            .append("isDeleted", getIsDeleted())
            .append("createTime", getCreateTime())
            .append("createdBy", getCreatedBy())
            .append("updatedBy", getUpdatedBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
